package io.gitee.pkmer.hutool.zip;

import cn.hutool.core.util.ZipUtil;

import java.io.File;
import java.io.IOException;

/**
 * @author <a href="mailto:1193094618@qq.com">pkmer</a>
 * <br>
 * <a href = "https://gitee.com/pkmer/sonatype-central-publisher">Code Repository</a>
 * At 2024/8/15
 */
public class ZipMain {
    public static void main(String[] args) throws IOException {
        File file = new File("build/files");
        System.out.println(file.getCanonicalPath());
        ZipUtil.zip(file);
    }
}
